package com.ruoyi.video.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 番剧对象 video
 *
 * @author ruoyi
 * @date 2022-02-04
 */
public class Video extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 番剧名称
     */
    @Excel(name = "番剧名称")
    private String name;

    /**
     * 头图
     */
    @Excel(name = "头图")
    private String headImg;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String profiles;

    private Long progress;


    private List<Long> progressArray;

    public Video() {
    }

    public Video(String id) {
        this.id = id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setProfiles(String profiles) {
        this.profiles = profiles;
    }

    public String getProfiles() {
        return profiles;
    }

    public Long getProgress() {
        return progress;
    }

    public void setProgress(Long progress) {
        this.progress = progress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("headImg", getHeadImg())
                .append("profiles", getProfiles())
                .append("createTime", getCreateTime())
                .toString();
    }

    public List<Long> getProgressArray() {
        return progressArray;
    }

    public void setProgressArray(List<Long> progressArray) {
        this.progressArray = progressArray;
    }
}
